Search
Series3D Constructor (List<Number> | Array<Number>, List<Number> | Array<Number>, List<Number> | Array<Number>, List<String> | Array<String>)
See Also
 






Initializes a new instance of the Series3D class.

Namespace: MindFusion.Charting
File: Series3D.js

 Syntax

JavaScript  Copy Code

function Series3D (xValues, yValues, zValues, labels)

 Parameters

xValues

Type: List | Array
A list of X coordinates.

yValues

Type: List | Array
A list of Y coordinates.

zValues

Type: List | Array
A list of Z coordinates.

labels

Type: List | Array
A list of labels.

 Example

The following code creates a new Series3D instance using four arrays with values:

JavaScript  Copy Code
var series = new Charting.Series3D(10, 20, 30, 40], [50, 40, 50, 5], [19, 17, 6, 12], ["Tomatoes", "Cucumbers", "Peppers", "Lettuce"]);
series.title = "Vegetables";

 See Also